﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Service.UpdateService" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" />
  <xs:element name="GetUpdateSchedule">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appVersion" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetUpdateScheduleResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Service.UpdateService" minOccurs="0" name="GetUpdateScheduleResult" nillable="true" type="q1:UpdateSchedule" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateFile">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="scheduleMode" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="formVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="scheduleVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="filePath" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateFileResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.Service.UpdateService" minOccurs="0" name="UpdateFileResult" nillable="true" type="q2:UpdateResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadIncrementalPatchFileSegment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="fromVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="start" type="xs:long" />
        <xs:element minOccurs="0" name="length" type="xs:int" />
        <xs:element minOccurs="0" name="data" nillable="true" type="xs:base64Binary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadIncrementalPatchFileSegmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="UploadIncrementalPatchFileSegmentResult" nillable="true" type="q3:UploadResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadFullPatchFileSegment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="start" type="xs:long" />
        <xs:element minOccurs="0" name="length" type="xs:int" />
        <xs:element minOccurs="0" name="data" nillable="true" type="xs:base64Binary" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UploadFullPatchFileSegmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="UploadFullPatchFileSegmentResult" nillable="true" type="q4:UploadResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateVersion">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="version" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="isNecessary" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="UpdateVersionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="UpdateVersionResult" nillable="true" type="q5:UpdateVersionResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPackage">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="localVersion" nillable="true" type="xs:string" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="patchType" type="q6:PatchType" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetPackageResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="GetPackageResult" nillable="true" type="q7:PatchInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckVersion">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="localVersion" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CheckVersionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="CheckVersionResult" nillable="true" type="q8:CheckVersionResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DownloadIncrementalPatchFileSegment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="fromVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="start" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DownloadIncrementalPatchFileSegmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="DownloadIncrementalPatchFileSegmentResult" nillable="true" type="q9:DownloadResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DownloadFullPatchFileSegment">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="appType" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="toVersion" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="start" type="xs:long" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DownloadFullPatchFileSegmentResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/CPPEI.Coolzon.UpdateServer" minOccurs="0" name="DownloadFullPatchFileSegmentResult" nillable="true" type="q10:DownloadResult" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>